Gives various information that would help in debugging related to a batch of documents. Currently in beta, might undergo breaking changes without prior notice. This endpoint is not yet generally available. Please contact Glean support to enable this feature.
Tip: Refer to the Troubleshooting tutorial for more information.
OK
Array of objects (DebugDocumentsResponseItem) List of document ids/urls and their debug information |
Bad Request
Not Authorized
{- "debugDocuments": [
- {
- "objectType": "Article",
- "docId": "art123"
}
]
}
{- "documentStatuses": [
- {
- "docId": "string",
- "objectType": "string",
- "debugInfo": {
- "status": {
- "uploadStatus": "UPLOADED",
- "lastUploadedAt": "2021-08-06T17:58:01.000Z",
- "indexingStatus": "INDEXED",
- "lastIndexedAt": "2021-08-06T17:58:01.000Z"
}, - "uploadedPermissions": {
- "allowedUsers": [
- {
- "email": "string",
- "datasourceUserId": "string",
- "name": "string"
}
], - "allowedGroups": [
- "string"
], - "allowedGroupIntersections": [
- {
- "requiredGroups": [
- null
]
}
], - "allowAnonymousAccess": true,
- "allowAllDatasourceUsersAccess": true
}
}
}
]
}